package com.zhq.blog.core.domain.money;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import com.zhq.blog.core.domain.BaseRepository;

public interface CardRepository extends JpaRepository<Card,Long>, BaseRepository<Card>,JpaSpecificationExecutor<Card> {

	@Query("select b from Card b where deleted=0  order by id desc  ")
	List<Card> findAll();
}
